/**
* Copyright (c) By zengqh.
*
* This program is just for fun or demo, in the hope that it  
* will be useful, you can redistribute it and/or modify freely.
*
* Time: 2013/03/07
* File: ProgramAttribute.h
**/

#pragma once

#include "VertexBuffer.h"

namespace HY
{

class ProgramAttribute : public Noncopyable
{
public:
	virtual bool set(VertexBuffer* vb, uint32 idx) = 0;
	virtual bool set(VertexBuffer* vb, uint32 semantic, uint32 channel = 0) = 0;

protected:
	ProgramAttribute() {}
	virtual ~ProgramAttribute() {}
};

}